package com.yeyks.common.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class PageParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "页数", name = "pageNum", dataType = "Integer")
    private Integer pageNum = 1;
    @ApiModelProperty(value = "每页记录数", name = "pageSize", dataType = "Integer")
    private Integer pageSize = 10;

}
